﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="News.aspx.cs" Inherits="News" Title="校园速递" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contenter">
        <div class="content sub-m-l">
            <div class="area">
                <div class="c-top">
                </div>
                <div class="sub-nav">
                    <div class="s-t">
                        <h2>
                            校园速递</h2>
                        <h4>
                            NEWS</h4>
                    </div>
                    <div class="s-b">
                        <ul>
                            <asp:Repeater ID="rptClassMenu" runat="server" OnItemDataBound="rptClassMenu_ItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:HyperLink ID="hlLinks" runat="server" NavigateUrl='<%# "News.aspx?ClassId="+Eval("Cid") %>'
                                            ToolTip='<%# Eval("cName") %>' Text='<%# Eval("cName") %>' Target="_self"></asp:HyperLink>
                                        </a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                    <div class="s-f">
                    </div>
                </div>
                <div class="main-con">
                    <div class="n-m-t">
                        <div class="n-m-tl">
                        </div>
                    </div>
                    <div class="main-body">
                        <div class="site">
                            <div class="si-ti">
                                <h3>
                                    <%=strMenu %></h3>
                            </div>
                            当前位置：> <a href="Default.aspx">网站首页</a> &gt; <a href="#">校园速递</a> &gt;
                            <asp:Label ID="lblShowTitle" runat="server"></asp:Label></div>
                        <div class="m-cont">
                            <div class="box-con clearfix">
                                <div class="box-list">
                                    <ul>
                                        <asp:Repeater ID="rptNewsList" runat="server">
                                            <ItemTemplate>
                                                <li><a href="NewsDetail.aspx?ClassId=<%# Eval("aClassId") %>&Id=<%# Eval("aId") %>" target="_blank" title="<%# Eval("aTitle") %>">
                                                    <div class="box-time">
                                                        <h3>
                                                            <%# Convert.ToDateTime(Eval("aAddTime")).ToString("dd")%></h3>
                                                        <span>
                                                            <%# Convert.ToDateTime(Eval("aAddTime")).ToString("yyyy/MM")%></span>
                                                    </div>
                                                    <dl>
                                                        <dt>
                                                            <%# Eval("aTitle") %>
                                                        </dt>
                                                        <dd>
                                                            <%# HttpUtility.HtmlDecode(Convert.ToString(Eval("AShortInstr")))%></dd>
                                                    </dl>
                                                </a></li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </ul>
                                </div>
                                <webdiyer:AspNetPager ID="anpProduct" CssClass="splitPages" PageSize="15" runat="server"
                                    PrevNextButtonsClass="noPre" AlwaysShowFirstLastPageNumber="true" FirstPageText="|<"
                                    LastPageText=">|" NextPageText=">>" PrevPageText="<<" NumericButtonType="Text"
                                    OnPageChanged="anpProduct_PageChanged" AlwaysShow="true">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>
                    </div>
                    <div class="n-m-f">
                        <div class="n-m-fl">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
